import java.util.Scanner;
public class person7 {
    public static void main(String[] args) {
        System.out.println("请输入一个数：");
        Scanner reader = new Scanner(System.in) ;
        int n = reader.nextInt() ;
        String str = "" ;
        for (int i = n * (n - 1)/2 ; i < n * (n + 1)/2 ; i++) {
            if(i != n * (n + 1)/2 -1){
                str =str + (i*2+1) + "+" ;
            }else{
                str =str + (i*2+1) ;
            }
        }
        System.out.println(n+"的三次方"+n*n*n+"可以表示为"+str);
    }
}
